package com.dongdong.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdong.mapper.TbGoodsDescMapper;
import com.dongdong.pojo.TbGoodsDesc;
import com.dongdong.service.GoodsDescService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Deacription TODO
 * @Author Lenovo
 * @Date 2020/12/13 16:34
 * @Version 1.0
 **/
@Service
@Component
public class GoodsDescServiceImpl implements GoodsDescService {

    @Resource
    private TbGoodsDescMapper tbGoodsDescMapper;

    @Override
    public TbGoodsDesc findGoodsDescById(Long goodsId) {
        return tbGoodsDescMapper.selectByPrimaryKey(goodsId);
    }

}

